package com.hczt.xhminiapp.common.exception;

import com.hczt.xhminiapp.common.bean.CodeMsg;
import lombok.Getter;

@Getter
public class BizException extends Exception {
	private static final long serialVersionUID = 1L;

	private CodeMsg codeMsg;

	public BizException(CodeMsg codeMsg) {
		super(codeMsg.toString());
		this.codeMsg = codeMsg;
	}
}